package

        com.wangc.report.dao;

import com.wangc.report.entity.SysMenuEntity;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * 菜单管理Dao
 *
 * @author xuyang
 * @email 295640759@qq.com
 * @date 2020-04-01 23:34:07
 */
@Repository
@Mapper
public interface SysMenuMapper {
    SysMenuEntity selectByPrimaryKey(Long id);

    List<SysMenuEntity> queryList(Map<String, Object> map);

    int queryTotal(Map<String, Object> map);

    int insertSelective(SysMenuEntity sysConfig);

    int updateByPrimaryKeySelective(SysMenuEntity sysConfig);

    int deleteByPrimaryKey(Long id);

    int deleteBatch(Long[] ids);

    List<Long> queryAllMenuId(Long id);

    List<SysMenuEntity> queryListParentId(Long parentId);
}
